﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Logistics.Operators
{
    public class CreateOperatorsDto
    {
        public int Id { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public string SaveNumber { get; set; }
        /// <summary>
        /// 账户名
        /// </summary>
        public string Account { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord { get; set; }
        /// <summary>
        /// 操作员姓名
        /// </summary> 
        public int UserId { get; set; }
        /// <summary>
        /// 角色
        /// </summary>
        public int RoleId { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string DepartmentName { get; set; }
        /// <summary>
        /// 公司邮箱
        /// </summary>
        public string DepartmentEmail { get; set; }
        /// <summary>
        /// 企业地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 固话
        /// </summary>
        public string Fixedline { get; set; }
        /// <summary>
        /// 用户状态
        /// </summary>
        public bool State { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CrateTime { get; set; }
        /// <summary>
        /// 人脸唯一标识
        /// </summary>
        public string FaceToken { get; set; }
        /// <summary>
        /// 人脸和数据库表关联字段
        /// </summary>
        public string GuidId { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>
        [NotMapped]
        public string UserName { get; set; }
    }
}
